package com.asd.map.service.impl;

import com.asd.map.entity.Tagging_style;
import com.asd.map.mapper.Tagging_styleMapper;
import com.asd.map.service.ITagging_styleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author
 * @createtime 2021-11-03 11:13
 * @description
 */
@Service
public class Tagging_styleServiceImpl extends ServiceImpl<Tagging_styleMapper, Tagging_style> implements ITagging_styleService {

    @Autowired
    private Tagging_styleMapper tagging_styleMapper;

    @Override
    public Tagging_style findBYTid(String tid) {
        return tagging_styleMapper.findBYTid(tid);
    }

    @Override
    public Tagging_style getByField(String field) {
        return tagging_styleMapper.findBgetByFieldYTid(field);

    }
}
